package com.xuecheng.media.model.po;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author 勾新杰
 * @since 2025-02-09
 */
@Data
@Builder
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("media_minio_files")
@ApiModel(description="MediaMinioFiles对象")
public class MediaMinioFiles implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 文件唯一标识符（MD5）
     */
    @ApiModelProperty(value = "文件唯一标识符（MD5）")
    private String fileId;

    /**
     * 分块序号
     */
    @ApiModelProperty(value = "分块序号")
    private Integer chunkNumber;

    /**
     * 分块路径
     */
    @ApiModelProperty(value = "分块文件路径")
    private String chunkPath;

    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createDate;

    /**
     * 桶
     */
    @ApiModelProperty(value = "桶")
    private String bucket;
}
